library jvtd_flutter_http;

import 'package:dio/dio.dart';

export 'src/jvtd_http_core.dart';
export 'src/jvtd_http_print.dart';
export 'src/jvtd_simple_api.dart';
export 'src/jvtd_http_utils.dart';

class JvtdHttp {
  /// [http]debug模式
  static bool debug = true;

  /// 全局使用的[Dio]请求对象
  static Dio dio = Dio(
    BaseOptions(
      connectTimeout: 30000,
      receiveTimeout: 30000,
      sendTimeout: 30000,
      contentType: "application/x-www-form-urlencoded",
      responseType: ResponseType.plain,
    ),
  );
}
